package com.changyuyang.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.changyuyang.bean.City;
import com.changyuyang.bean.Customer;
import com.changyuyang.bean.Shoot;

public interface CustDao {

	List findAll(@Param("name")String name,@Param("startMoney")String startMoney,@Param("endMoney")String endMoney);
	
	int delByCust(@Param("sid")Integer sid);
	
	void delByC(@Param("sid")Integer sid);
	
	List<City> fianCityById(@Param("pid")Integer pid);
	
	List<Shoot> findShoot();
	
	void addCust(Customer customer);
	
	void addC(@Param("cid")Integer cid,@Param("sid")Integer sid);
}
